package org.jfonia.connect5.transformations;

import org.jfonia.connect5.basics.BasicValueNode;

/**
 * @author wijnand.schepens@hogent.be
 */
public class MinusTf extends BinTf<Integer, Integer, Integer>
{

	public MinusTf(BasicValueNode<Integer> source1, BasicValueNode<Integer> source2, BasicValueNode<Integer> target)
	{
		super(source1, source2, target);
	}
	
	public void apply()
	{
		target.setValue(source1.getValue() - source2.getValue());
	}

}
